package com.ruoyi.car.business.mapper;

import com.ruoyi.car.business.domain.BusServiceItem;
import com.ruoyi.car.business.query.ServiceItemQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * 养修服务单项Mapper接口
 */
public interface BusServiceItemMapper {
    int updateByIsDelete(Long id);

    int insert(BusServiceItem busServiceItem);

    BusServiceItem selectByPrimaryKey(Long id);

    List<BusServiceItem> selectAll();

    int updateByPrimaryKey(BusServiceItem busServiceItem);

    List<BusServiceItem> selectForList(ServiceItemQuery qo);

    void updateSaleStatus(@Param("id") Long id, @Param("saleStatus") Integer saleStatus);

    void changeAuditStatus(@Param("id") Long id, @Param("auditstatus") Integer auditstatus);
}
